<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>JQueryDom操作</title>
		<link rel="stylesheet" type="text/css" href="css/txt.css" />
		<script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
	</head>

	<body>
		<div id="showDiv">11</div>
		<div id="showDiv">22</div>
		<div id="showDiv">33</div>

	</body>

	<script type="text/javascript">
		$(function() {
			// 请删除上面div元素，并且是索引大于0的都删除
			$("div:gt(0)").remove();
		});
	</script>

</html>